package com.zdkj.subway.check.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 售票员票款差异审核日志记录表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sw_au_center_conductor_amount_difference_log")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "售票员票款差异审核日志记录表")
public class SwAuCenterConductorAmountDifferenceLog extends Model<SwAuCenterConductorAmountDifferenceLog> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    private Integer id;

    /**
     * 主表id
     */
    @ApiModelProperty(value = "主表id")
    private Integer relationId;

    /**
     * 线路
     */
    @ApiModelProperty(value = "线路")
    private String lineCode;

    /**
     * 站点
     */
    @ApiModelProperty(value = "站点")
    private String stationCode;

    /**
     * 收入日期
     */
    @ApiModelProperty(value = "收入日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date recordTime;

    /**
     * 售票员工号
     */
    @ApiModelProperty(value = "售票员工号")
    private String conductorJobNo;

    /**
     * 售票员名称
     */
    @ApiModelProperty(value = "售票员名称")
    private String conductorPersonName;

    /**
     * 设备操作号
     */
    @ApiModelProperty(value = "设备操作号")
    private String equipmentNumber;

    /**
     * BOM编号
     */
    @ApiModelProperty(value = "BOM编号")
    private String bomCode;

    /**
     * 实收金额
     */
    @ApiModelProperty(value = "实收金额")
    private BigDecimal paidAmount;

    /**
     * 系统数据金额
     */
    @ApiModelProperty(value = "系统数据金额")
    private BigDecimal sysAmount;

    /**
     * 乘客事务金额
     */
    @ApiModelProperty(value = "乘客事务金额")
    private BigDecimal passengerWorkAmount;

    /**
     * 预制单程票现金金额
     */
    @ApiModelProperty(value = "预制单程票现金金额")
    private BigDecimal singleTicketAmount;

    /**
     * 应急纸票现金金额
     */
	@ApiModelProperty(value = "应急纸票现金金额")
    private BigDecimal emergencyAmount;

    /**
     * 差异金额
     */
    @ApiModelProperty(value = "差异金额")
    private BigDecimal differenceAmount;

    /**
     * 营销车票金额
     */
    @ApiModelProperty(value = "营销车票金额")
    private BigDecimal marketTicketAmount;

    /**
     * 数据来源
     */
    @ApiModelProperty(value = "数据来源")
    private String sysDataSource;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 修改原因备注
     */
    @ApiModelProperty(value = "修改原因备注")
    private String reasonRemark;

    /**
     * 更新人工号
     */
    @ApiModelProperty(value = "更新人工号")
    private String updateId;

    /**
     * 更新人名称
     */
    @ApiModelProperty(value = "更新人名称")
    private String updateName;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
